home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 5-7 / Prograph Reference 5-7.rsrc / TEXT_147.txt < prev    next >
Encoding:
Text File  |  1995-10-25  |  6.2 KB  |  225 lines

  1.  ¬†        Scroll Text 
  2.  
  3. Inherits from:     Edit Text  
  4.  
  5.  
  6.  
  7. _____________________________________________________
  8. ¬†           name   *227*
  9.  
  10. Type:   string 
  11.  
  12. Description:    Used by the primitive find-item to find a ¬´Scroll Text¬ª by name. 
  13.  
  14.  
  15.  
  16. _____________________________________________________
  17. ¬†           owner    *227*
  18.  
  19. Type:   Window 
  20.  
  21. Constraints:    Not settable.    
  22.  
  23. Description:   If ¬´Scroll Text¬ª is a member of item list of an active ¬´Window¬ª, then the value of this attribute is that ¬´Window¬ª; otherwise it is NULL.    
  24.  
  25.  
  26.  
  27. _____________________________________________________
  28. ¬†           active?    *227*
  29.  
  30. Type:   boolean    
  31.  
  32. Constraints:    Not settable on default.    
  33.  
  34. Description:      This item can be made the selected text item if and only if the value of this attribute is TRUE, and the value of the visible? attribute is TRUE.      
  35.  
  36.  
  37.  
  38. _____________________________________________________
  39. ¬†           visible?    *228*
  40.  
  41. Type:   boolean    
  42.  
  43. Description:   ¬´Scroll Text¬ª is displayed in the owning ¬´Window¬ª if and only if the value of this attribute is TRUE, and the value of the active? attribute is TRUE.  If a selected ¬´Scroll Text¬ª is made invisible or inactive, it is deselected.    
  44.  
  45. Side effects:    Setting causes ¬´Scroll Text¬ª to be redrawn in the owning ¬´Window¬ª.  
  46.     
  47.  
  48.  
  49. _____________________________________________________
  50. ¬†           move?   *228*
  51.  
  52. Type:   boolean    
  53.  
  54. Description:      The location of ¬´Scroll Text¬ª is changed relative to the size of the owning ¬´Window¬ª if and only if the value of this attribute is TRUE.    
  55.  
  56.  
  57.  
  58. _____________________________________________________
  59. ¬†           grow?   *228*
  60.  
  61. Type:   boolean    
  62.  
  63. Description:      The size of ¬´Scroll Text¬ª is changed relative to the size of the owning ¬´Window¬ª if and only if the value of this attribute is TRUE.    
  64.  
  65.  
  66.  
  67. _____________________________________________________
  68. ¬†           location   *228*
  69.  
  70. Type:   Point    
  71.  
  72. Description:    The location of the upper left corner of ¬´Scroll Text¬ª in the owning ¬´Window¬ª.    
  73.  
  74. Side effects:    Setting causes ¬´Scroll Text¬ª to be redrawn.    
  75.  
  76.  
  77.  
  78. _____________________________________________________
  79. ¬†           size   *229*
  80.  
  81. Type:   Point    
  82.  
  83. Description:    Offset of the lower right corner of ¬´Scroll Text¬ª from the upper left corner.    
  84.  
  85. Side effects:    Setting causes ¬´Scroll Text¬ª to be redrawn.    
  86.  
  87.  
  88.  
  89. _____________________________________________________
  90. ¬†           balloon  *229*
  91.  
  92. Type:     list 
  93.  
  94. Description:    Balloon Help information; format varies with the type (Prograph string or 'STR ', 'STR#', 'TEXT' or 'PICT' resource) of Balloon Help.    
  95.  
  96.  
  97.  
  98. _____________________________________________________
  99. ¬†           border?  *229*
  100.  
  101. Type:     boolean 
  102.  
  103. Description:    A 1-point border is drawn around the ¬´Scroll Text¬ª if the value of this attribute is TRUE.
  104. Side effects:     Setting causes ¬´Scroll Text¬ª to be redrawn. 
  105.  
  106.  
  107. _____________________________________________________
  108. ¬†           font  *229*
  109.  
  110. Type:   integer 
  111.  
  112. Description: The default font in which ¬´Scroll Text¬ª is drawn. See Mac Constants (geneva, and so on) in the ÀôInfo‚Ķ dialog for some values, as well as chapter 7, ‚ÄúThe Macintosh Toolbox.‚Äù, and chapter 4, ‚ÄùApplication Builder‚Äù for a discussion of fonts and style records.    
  113.  
  114. Side effects:   Setting causes ¬´Scroll Text¬ª to be redrawn.      
  115.  
  116.  
  117.  
  118.  
  119. _____________________________________________________
  120. ¬†           font style *230*
  121.  
  122. Type:   integer    
  123.  
  124. Description: The default style in which ¬´Scroll Text¬ª is drawn. See Mac Constants (bold, and so on) in the ÀôInfo‚Ķ dialog for some values, as well as chapter 7, ‚ÄúThe Macintosh Toolbox.‚Äù    
  125.  
  126. Side effects:   Setting causes ¬´Scroll Text¬ª to be redrawn.      
  127.  
  128.  
  129.  
  130. _____________________________________________________
  131. ¬†           font size  *230*
  132.  
  133. Type:   integer 
  134.  
  135. Description: The point size in which ¬´Scroll Text¬ª is drawn. 
  136.      
  137. Side effects:   Setting causes ¬´Scroll Text¬ª to be redrawn.  
  138.  
  139.     
  140.  
  141. _____________________________________________________
  142. ¬†           justification  *230*
  143.  
  144. Type:   integer 
  145.  
  146. Description: Justification for drawing ¬´Scroll Text¬ª. See Mac Constants (teJustLeft, and so on) in the ÀôInfo‚Ķ dialog for some values.    
  147.  
  148. Side effects:   Setting causes the item to be redrawn.      
  149.  
  150.  
  151.  
  152. _____________________________________________________
  153. ¬†           text  *231*
  154.  
  155. Type:   string 
  156.  
  157. Description: The text that is displayed in the item. It can have a maximum length of 32K bytes. If the text is longer than 32K bytes, it is truncated to that size.    
  158.  
  159. Side effects:   Setting this attribute will cause ¬´Scroll Text¬ª to be redrawn immediately only if the ¬´Scroll Text¬ª is the selected text item in its owning ¬´Window¬ª. Otherwise the redraw is delayed until the application manager processes an update event.  Setting this attribute also sets the style record attribute to NULL, and applies the default font, size and style to the new text.    
  160.  
  161.  
  162.  
  163. _____________________________________________________
  164. ¬†            edit record  *231*
  165.  
  166. Type:   TERec@@    
  167.  
  168. Constraints:    Not settable.    
  169.  
  170. Description: Text Edit record.    
  171.  
  172.  
  173.  
  174. _____________________________________________________
  175. ¬†            style record  *231*
  176.  
  177. Type:   null | StScrpRec@@    
  178.  
  179. Constraints:    Not settable.    
  180.  
  181. Description: This attribute is NULL if only one font, font size and font style are used throughout the text; otherwise, it points to the style record.    
  182.  
  183.  
  184.  
  185. _____________________________________________________
  186. ¬†            wrap?  *231*
  187.  
  188. Type:   boolean    
  189.  
  190. Description: Text is kept within the bounding rectangle of the ¬´Scroll Text¬ª if and only if the value of this attribute is TRUE.    
  191.  
  192.  
  193.  
  194. _____________________________________________________
  195. ¬†            selection  *232*
  196.  
  197. Type:   Point    
  198.  
  199. Description:    The range of characters selected. 
  200.  
  201. Side effects:   If the selected characters are outside the visible rectangle, they are scrolled into view and all characters in the selection range are highlighted.    
  202.  
  203.  
  204.  
  205. _____________________________________________________
  206. ¬†            vscroll  *232*
  207.  
  208. Type:   ControlRecord@@    
  209.  
  210. Constraints:    Not settable.    
  211.  
  212. Description:  The control record of the vertical scroll bar of ¬´Scroll Text¬ª.    
  213.  
  214.  
  215.  
  216. _____________________________________________________
  217. ¬†            hscroll  *232*
  218.           
  219. Type:   ControlRecord@@    
  220.  
  221. Constraints:    Not settable.    
  222.  
  223. Description:  The control record of the horizontal scroll bar of ¬´Scroll Text¬ª.    
  224.  
  225.